﻿using System;using ERP_RORZE_SYSTEM;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP_RORZE_DLL.Product.database
{
    public class Work
    {
        #region Members
        protected string workID;
        protected string workName;
        protected bool directWork;
        protected bool machWork;
        protected bool machInDWork;
        protected bool machineRun;
        #endregion
        #region Public Properties

        /// <summary>
        /// Property relating to database column WorkID(nvarchar(4),not null)
        /// </summary>
        public string WorkID
        {
            get { return workID; }
            set { workID = value; }
        }

        /// <summary>
        /// Property relating to database column WorkName(nvarchar(200),not null)
        /// </summary>
        public string WorkName
        {
            get { return workName; }
            set { workName = value; }
        }

        /// <summary>
        /// Property relating to database column DirectWork(bit,not null)
        /// </summary>
        public bool DirectWork
        {
            get { return directWork; }
            set { directWork = value; }
        }

        /// <summary>
        /// Property relating to database column MachWork(bit,not null)
        /// </summary>
        public bool MachWork
        {
            get { return machWork; }
            set { machWork = value; }
        }

        /// <summary>
        /// Property relating to database column MachInDWork(bit,null)
        /// </summary>
        public bool MachInDWork
        {
            get { return machInDWork; }
            set { machInDWork = value; }
        }

        /// <summary>
        /// Property relating to database column MachineRun(bit,null)
        /// </summary>
        public bool MachineRun
        {
            get { return machineRun; }
            set { machineRun = value; }
        }
        #endregion

    }
}
